package com.example.springboot.service;
import com.example.springboot.pojo.Orders;
import com.example.springboot.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrdersService {
    void create(Orders orders);
    void delete(Integer id);
    List<Orders> findAll();
    Orders findById(Integer shId);
    PageInfo<Orders> findByUserId(Integer pageNum, Integer pageSize);
    void update(Orders orders);
    PageInfo<Orders> selectPage(Integer pageNum, Integer pageSize);

    void deleteBatch(List<Integer> ids);
    Orders findByOrdersNumber(String ordersNumber);
}
